Skip to content

feat(ui): the console shows each worker's load on its card and detail page - #568

Merged
V3RON merged 7 commits into
task/533from
task/534
Oct 14, 2026
Merged

V3RON merged 7 commits into
task/533from
task/534

Conversation

@V3RON

@V3RON V3RON commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Closes #534

Status

Implement: done Review: round 2, passed Hardware: n/a Gate: waiting for the stack

Done when

  • Every test above is green (unit tests and the two console specs in e2e/console/workers.spec.ts; CI).
  • On a single host, the Workers page card shows the Load row, and the worker's page shows the Load panel with an age that ticks (console specs).

Assumptions

None.

Review

Spec review: 2 blocking, 2 fixed, 0 notes. Code review: 2 blocking, 2 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 2 notes.
Rounds: 2. Tokens: 8.8M.

Rejected:

  • claims: docs/CONSOLE.md:152 page description omits the Load panel — incomplete wording, no wrong state

Written by an agent.

@V3RON

V3RON commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

  • claims: docs/CONSOLE.md:152 a starting worker's page is described as showing "the status and the host" but also shows a Load panel after Host (ui/src/views/worker-detail.tsx:63).

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 14, 2026 13:40
@V3RON
V3RON added this pull request to stack #564 October 14, 2026 13:40
@V3RON
V3RON force-pushed the task/534 branch 2 times, most recently from 28fdf4a to 80376a3 Compare October 14, 2026 14:41
V3RON and others added 7 commits October 14, 2026 18:14
… page (#534)

All unit tests in ui/ pass: 1 failing -> 0 failing. Browser tests are not run
locally; Chromium is not installed.
… test waits for the redial

The worker dialled its gateway the moment its socket was claimed, racing the
sampler's first read. When the dial won, the gateway's one status.get on
connect carried no load and the next came on the 30 s beat, so the console
showed Not reported for that long. The dial now waits for the first reading,
which the sampler's own 10 s bound limits.

The gateway-restart front tests advanced the fake clock a fixed 8 s, which
ends before a loaded machine's worker has noticed the closed link and armed
its redial timer. They now step until the worker is connected again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UFibUDwnXeTS9vkc6kK2iQ
@V3RON
V3RON merged commit eb8c23a into main Oct 14, 2026
34 of 44 checks passed
@V3RON
V3RON deleted the task/534 branch October 14, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The console shows each worker's load on its card and detail page

2 participants